.cm-datetime {
  display: inline-block;
  position: relative;
}
.cm-datetime .cm-datetime-wrap {
  overflow: hidden;
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 10;
  padding: 5px;
  background: whitesmoke;
  -webkit-box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 6px, rgba(0, 0, 0, 0.117647) 0 1px 4px;
  -moz-box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 6px, rgba(0, 0, 0, 0.117647) 0 1px 4px;
  box-shadow: rgba(0, 0, 0, 0.117647) 0 1px 6px, rgba(0, 0, 0, 0.117647) 0 1px 4px;
  display: none;
}
.cm-datetime.cm-dateRange {
  border: 1px solid #e9e9e9;
  border-radius: 2px;
  color: #787878;
}
.cm-datetime.cm-dateRange .cm-datetime-wrap {
  width: 452px;
}
.cm-datetime.cm-dateRange .date-text {
  width: auto;
  min-width: 90px;
  padding: 4px 10px;
  border: 0;
}
.cm-datetime.cm-dateRange .cm-date-month-line {
  width: 218px;
}
.cm-datetime.cm-dateRange .cm-date-year-line {
  width: 218px;
}
.cm-datetime .tools-info {
  font-size: 12px;
  padding: 5px 20px 7px;
  border-bottom: 1px dashed #ccc;
  text-align: left;
}
.cm-datetime .tools-info .date-range-shortcut {
  margin-left: 10px;
  color: gray;
}
.cm-datetime .date-picker {
  display: inline-block;
  font-size: 12px;
  vertical-align: top;
}
.cm-datetime.dropup .cm-datetime-wrap {
  top: auto;
  bottom: 28px;
}
.cm-datetime .date-text {
  padding: 4px 30px 4px 10px;
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  color: #787878;
  width: 100%;
  min-width: 161px;
  display: inline-block;
  background-color: #fff;
  background-image: none;
  font-size: 13px;
  transition: border-color ease-in-out 0.15s;
  cursor: pointer;
  height: 28px;
  line-height: 17px;
}
.cm-datetime.disabled {
  cursor: default;
}
.cm-datetime.disabled .date-text {
  cursor: default;
  color: #888;
}
.cm-datetime.disabled i {
  color: #888;
}
.cm-datetime i.fa-calendar {
  position: absolute;
  right: 6px;
  top: 8px;
}
.cm-datetime .date-picker-header {
  padding: 2px 4px;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}
.cm-datetime .date-picker-header a {
  display: inline-block;
  padding: 4px;
  color: #787878;
  text-decoration: none;
}
.cm-datetime .date-picker-header a.year,
.cm-datetime .date-picker-header a.month {
  padding: 4px 10px;
  border-radius: 12px;
  width: 65px;
}
.cm-datetime .date-picker-header a.year :hover,
.cm-datetime .date-picker-header a.month :hover {
  background: #fff;
}
.cm-datetime .date-picker-header a.prev {
  float: left;
  cursor: pointer;
  font-family: Consolas,cursive,monospace,serif;
  -webkit-user-select: none;
  user-select: none;
  margin-top: 4px;
}
.cm-datetime .date-picker-header a.next {
  float: right;
  cursor: pointer;
  font-family: Consolas,cursive,monospace,serif;
  -webkit-user-select: none;
  user-select: none;
  margin-top: 4px;
}
.cm-datetime .inner {
  white-space: normal;
}
.cm-datetime .month,
.cm-datetime .year,
.cm-datetime button.day {
  color: #787878;
  font-size: 12px;
  text-align: center;
  display: inline-block;
  border: none;
  outline: none;
  background-color: transparent;
}
.cm-datetime .month::-moz-focus-inner,
.cm-datetime .year::-moz-focus-inner,
.cm-datetime button.day::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.cm-datetime .week,
.cm-datetime button.day span {
  display: inline-block;
  width: 24px;
  padding: 5px 0;
  margin: 0 3px;
  border-radius: 50%;
  font-family: Consolas,cursive,monospace,serif;
  background-color: transparent;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
.cm-datetime .week {
  text-align: center;
  border: none;
  background: none;
  cursor: default;
  color: #aaa;
}
.cm-datetime .month {
  cursor: pointer;
  width: 45px;
  padding: 6px 0;
  margin: 4px 10px;
  border-radius: 3px;
}
.cm-datetime .month.disabled {
  color: #cccccc;
  pointer-events: none;
  cursor: default;
}
.cm-datetime .year {
  cursor: pointer;
  width: 39px;
  padding: 6px 0;
  border-radius: 3px;
}
.cm-datetime button.day:hover span {
  background-color: #e1f0fa;
}
.cm-datetime button.day.rangeSelect {
  color: #fff;
  background-color: #3498DB;
}
.cm-datetime button.day.rangeSelect.cm-date-range-start {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.cm-datetime button.day.rangeSelect.cm-date-range-end {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
.cm-datetime button.day.rangeSelect span {
  background-color: transparent;
}
.cm-datetime button.day.today span {
  color: #fff;
  background-color: #3498DB;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}
.cm-datetime button.day.disabled,
.cm-datetime button.day.gray {
  color: #cccccc;
}
.cm-datetime button.day.disabled {
  pointer-events: none;
  cursor: default;
}
.cm-datetime button.day.empty {
  width: 30px;
  visibility: hidden;
}
.cm-datetime .date-picker-footer {
  text-align: center;
  margin: 5px 0;
}
.cm-datetime .date-picker-footer a {
  color: #787878;
  text-decoration: none;
  padding: 4px 15px;
  border-radius: 3px;
  cursor: pointer;
}
.cm-datetime .date-picker-footer a:hover,
.cm-datetime .month:hover,
.cm-datetime .year:hover {
  background-color: #fff;
}
.cm-datetime .month.active,
.cm-datetime .year.active {
  color: #fff;
  background-color: #3498DB;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);
}
.cm-datetime.black .cm-datetime-wrap {
  background: #29323F;
}
.cm-datetime.black .date-picker-header a {
  color: #8a9095;
}
.cm-datetime.black .week,
.cm-datetime.black .month,
.cm-datetime.black .year,
.cm-datetime.black button.day {
  color: #fff;
}
.cm-datetime.black button.day:hover span {
  background-color: #8a9095;
}
.cm-datetime.black button.day.rangeSelect {
  color: #fff;
  background-color: #3498DB;
}
.cm-datetime.black button.day.rangeSelect.cm-date-range-start {
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}
.cm-datetime.black button.day.rangeSelect.cm-date-range-end {
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
}
.cm-datetime.black button.day.rangeSelect span {
  background-color: transparent;
}
.cm-datetime.black button.day.today span {
  color: #fff;
  background-color: #3498DB;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
}
.cm-datetime.black button.day.disabled,
.cm-datetime.black button.day.gray {
  color: #8a9095;
}
.cm-datetime.black button.day:hover.disabled,
.cm-datetime.black button.day:hover.gray {
  color: #fff;
}
.cm-datetime.black .date-picker-footer a:hover,
.cm-datetime.black .month:hover,
.cm-datetime.black .year:hover {
  background-color: #8a9095;
  color: #fff;
}
.cm-datetime.black .tools-info {
  color: #fff;
}
.cm-datetime .cm-date-week-line,
.cm-datetime .cm-date-line {
  padding: 4px;
  white-space: nowrap;
}
.cm-datetime .cm-date-lines {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cm-datetime .cm-date-month-line {
  min-width: 140px;
  text-align: center;
}
.invalid .cm-datetime .date-text {
  border-color: #E05B5B;
}
